﻿<!--
Majesty of Omega - The next evolution of macro management space strategy

Copyright 2007 André Claaßen

This file is protected by the terms and conditions of the
Microsoft Community License (Ms-CL 1.1), a copy of which should
have been distributed along with this software. If not,
you may find the license information at the following URL:

http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx
-->
<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
  <!-- Blue Intro Screen Path Resource -->
  <Color x:Key="Moo3Color">#FF94A1BE</Color>
  <SolidColorBrush x:Key="MooE3Brush" Color="{StaticResource Moo3Color}"/>
  <Style x:Key="MooE3Style" TargetType="{x:Type Path}">
    <Setter Property="Fill" Value="{DynamicResource MooE3Brush}" />
    <Setter Property="Stretch" Value="Fill" />
    <Setter Property="Stroke" Value="#FF3253D2" />
    <Setter Property="StrokeThickness" Value="2" />
	<Setter Property="Opacity" Value="0.3" />
  </Style>

    <!-- The following styles enables the typical moo3 alpha buttons -->
    <Style x:Key="ButtonFocusVisual">
        <Setter Property="Control.Template">
            <Setter.Value>
                <ControlTemplate>
                    <Rectangle SnapsToDevicePixels="true" Margin="3" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="buttonMenuTemplate" TargetType="{x:Type Button}">
        <Setter Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}"/>
        <Setter Property="Width" Value="Auto" />
        <Setter Property="Height" Value="Auto" />
        <Setter Property="FontSize" Value="12" />
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Foreground" Value="#FFFBFBFB"  />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid Width="Auto" Height="Auto">
                        <Path x:Name="borderPath" VerticalAlignment="Stretch" Height="30" Fill="#FF7C9FEE" Stretch="Fill" Stroke="#FFFFFFFF" StrokeThickness="1" Data="M-0.5002848,21.078175 L-0.50023649,1.8605276 C-0.50023649,1.8605276 0.64980505,-3.786531 7.5,-3.7865311 12.849715,-3.7865312 128.89972,-3.7865312 128.89972,-3.7865312 L128.59972,20.795822 z" Margin="0,8,0,8"/>
                        <ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" OpacityMask="#FFFFFFFF" HorizontalAlignment="Center" OverridesDefaultStyle="True" VerticalAlignment="Center" x:Name="contentPresenter" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="borderPath" Property="Fill" Value="Orange" />
                        </Trigger>
                        <EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Style for glowing Title text -->
  <Style x:Key="MooTitleStyle" TargetType="{x:Type TextBlock}">
    <Setter Property="TextWrapping" Value="NoWrap"/>
    <Setter Property="TextTrimming" Value="None"/>
    <Setter Property="VerticalAlignment" Value="Top" />
    <Setter Property="FontSize" Value="32" />
    <Setter Property="Foreground" Value="#FFFFFFFF" />
    <Setter Property="FontFamily" Value="Impact" />
    <Setter Property="Opacity" Value="0.805" />
    <Setter Property="BitmapEffect">
      <Setter.Value>
        <OuterGlowBitmapEffect GlowColor="#FF0071FF" GlowSize="4"/>
      </Setter.Value>
    </Setter>
    <Setter Property="RenderTransform">
      <Setter.Value>
        <TransformGroup>
          <ScaleTransform ScaleX="1.75" ScaleY="1"/>
          <SkewTransform AngleX="-17" AngleY="0"/>
        </TransformGroup>
      </Setter.Value>
    </Setter>
  </Style>
</ResourceDictionary>